<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>jq</title>
	<script src="jquery.js"></script>
</head>
<body>
	<h1>00001</h1>
	<h1>00002</h1>
	<h1>00003</h1>
	<hr>
	<p>00004</p>
	<p>00005</p>
</body>

<script>
	
	
	//$('h1,p').css({'color':'#00f'}); 
	$('h1').add('p').css({'color':'#00f'});
</script>
</html>